﻿using AutoMapper;
using Hicap.AuthorizationServer.Core.Models;

namespace Hicap.AuthorizationServer.Application.Dto.Mapper
{
    internal static class CustomerRoleMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<Role, RoleListDto>();
            configuration.CreateMap<RoleEditDto, Role>();
            configuration.CreateMap<RoleListDto, RoleEditDto>();
            configuration.CreateMap<RoleEditDto, RoleListDto>();
        }
    }
}